package com.ruoyi.cbs.approval.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审核人配置对象 cbs_approval_user
 * 
 * @author ruoyi
 * @date 2025-11-12
 */
public class ApprovalUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 审核人配置主键 */
    private Long id;

    /** 审核配置id */
    @Excel(name = "审核配置id")
    private Long configId;

    /** 审核人id */
    @Excel(name = "审核人id")
    private Long userId;

    /** 审核人姓名 */
    @Excel(name = "审核人姓名")
    private String userName;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 审核类型 */
    @Excel(name = "审核类型")
    private String approvalType;

    /** 审核步骤 */
    @Excel(name = "审核步骤")
    private String approvalStep;

    /** 删除标志（1代表存在 0代表删除） */
    private String delFlag;

    /** 次序号 */
    private Integer seqNum;
    /** 次序号 */
    private String code;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setApprovalType(String approvalType) 
    {
        this.approvalType = approvalType;
    }

    public String getApprovalType() 
    {
        return approvalType;
    }

    public void setApprovalStep(String approvalStep) 
    {
        this.approvalStep = approvalStep;
    }

    public String getApprovalStep() 
    {
        return approvalStep;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public Integer getSeqNum() {
        return seqNum;
    }

    public void setSeqNum(Integer seqNum) {
        this.seqNum = seqNum;
    }

    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("configId", getConfigId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("phone", getPhone())
            .append("approvalType", getApprovalType())
            .append("approvalStep", getApprovalStep())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
